<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>注册界面</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<style type="text/css" media="screen">
* {
    margin: 0;
    padding: 0
}

.from {
    overflow: hidden;
    position: relative;
}

.bgc {
    width: 100%;
}

.submit {
    position: absolute;
    z-index: 9;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    margin-top: 150px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.form_title {
    text-align: center;
    margin-top: 40px;
    font-size: 23px;
}

.form_input {
    padding: 0 30px;
    box-sizing: border-box;
    display: flex;
    margin-top: 20px;
}

.form_input span {
    width: 85px;
    align-self: center;
}

.inputs {
    height: 40px;
    width: 300px;
    border-radius: 5px;
    border: none;
    background-color: #eee;
    color: #666;
    padding-left: 20px;
}

.btn_submit {
    align-self: center;
    overflow: hidden;
    position: relative;
}

.btn {
    border: none;
    width: 80px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    background: #999;
    margin-top: 40px;
}

.btn:hover {
    background: #666;
}

.resett {
    border: none;
    width: 80px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    background: #FFD204;
    margin-left: 10px;
}
</style>
</head>
<body>
	<div class = "from">
		<img class="bgc" src="ffr1.jpg" alt="">
		<div class="submit">
		<span class="form_title">新用户注册</span>
			<form action="registerservlet" method="post">
			<div class="form_input">
				<span>真实姓名：</span>
				<input class = "inputs" type = "text" name = "realname"><br><br>
			</div>
			<div class="form_input">
				<span>用户名：</span>
				<input class = "inputs" type = "text" name = "username"><br><br>
			</div>
			<div class="form_input">
				<span>用户密码：</span>
				<input class = "inputs" type = "password" name = "password"><br><br>
			</div>
			<div class = "btn_submit" align = "center">
				<input class = "btn" type = "submit" value = "提交">
				<input class = "resett" type = "reset" value = "重置">
				</div>
			</form>
		</div>
	</div>
</body>
</html>